package net.hn.hnms.biz.meeting.service;

import net.hn.hnms.biz.meeting.request.ScheduleMiningReq;
import net.hn.hnms.biz.meeting.vo.ScheduleMiningVo;
import net.hn.hnms.sys.common.core.domain.ResponsePage;
import net.hn.hnms.sys.common.mybatis.core.page.PageQuery;

import java.util.Date;
import java.util.List;

public interface ScheduleMiningService {


    ResponsePage<ScheduleMiningVo> selectPageList(ScheduleMiningReq meetingRoomReq, PageQuery pageQuery);


    void updateDeleteByIds(List<String> idList);

    int insert(ScheduleMiningReq meetingRoomReq);

    void updateById(ScheduleMiningReq meetingRoomReq);



    List<ScheduleMiningVo> selectReservePageList(Date dateTime, String mineCode, String companyCode);

    /**
     * 启用/禁用
     * @param scheduleId 数据id
     * @param state  status: 1:启用 0:禁用
     */
    void changeStatus(String scheduleId, Integer state);

    List<ScheduleMiningVo> selectList(ScheduleMiningReq planMining);
    List<ScheduleMiningVo> selectListData(ScheduleMiningReq planMining);

}
